<template>
  <div>
    <el-form-item label="提示">
      <el-input
        placeholder="输入提示"
        v-model="value.text">
      </el-input>
    </el-form-item>
    <el-form-item label="答案" v-if="type === 'exam' && value.score">
      <el-input
        placeholder="答案"
        v-model="value.input_answer">
      </el-input>
    </el-form-item>
  </div>
</template>

<script>
export default {
  props: ["value", "type"],
  data () {
    return {
    }
  },
  methods: {
  },
  computed: {
  }
}
</script>
